Xbasic

a5_xmlarguments_encode Function

Syntax

C a5_XMLArguments_encode(C xml )

Arguments

xmlCharacter

The SQL::Argument's XML object.

Description

Takes the SQL::Argument object's XML property and encodes it for inclusion in an HTML document

Example

dim args as SQL::Arguments
args.set("city","boston")
args.set("state","ma")

dim xml as c = args.XML
? a5_xmlarguments_encode(xml)
= "%3cN%3ecity%3c%2fN%3e%3cT%22C%22%3eboston%3c%2fT%3e%0d%0a%3cN%3estate%3c%2fN%3e%3cT%22C%22%3ema%3c%2fT%3e"

Limitations

Internal Use Only